<style>
    .thbg{
        background:#E9E9E9;
    }
    table tr th,td{
        height: 35px;
        padding: 5px;
    }
  /*  table tr:nth-child(even){
        background: #dedede;
    }*/
    tbody tr td:nth-child(odd){
        font-weight: 600;
    }
</style>
<div class="print">
    <div class="row text-center">
        <h3>{$row.name|htmlentities}</h3>
    </div>
    <table border="1" cellspacing="0" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
        <tbody style="font-size: 14px;" >

        <tr>
            <td colspan="1">接洽时间</td>
            <td colspan="1">{$row.inspect_time_text}</td>
            <td colspan="1"  style="width:17%;text-align: center;">走访地点</td>
            <td colspan="1"  style="width:16%;text-align: center;">{$row.inspect_address}</td>
            <td colspan="1"  style="width:17%;text-align: center;">区领导</td>
            <td colspan="1"  style="width:16%;text-align: center;">{$row.leader_names}</td>
        </tr>
        <tr>
            <td colspan="1">陪同单位</td>
            <td colspan="1">{$row.accompany_name}</td>
            <td colspan="1">责任部门</td>
            <td colspan="3">{$row.chargedep_names}</td>
        </tr>
        <tr>
            <td colspan="1">接洽情况</td>
            <td colspan="5">{$row.inspect_memo}</td>
        </tr>
        <tr>
            <td colspan="1">项目状态</td>
            <td colspan="5" style="text-align: left;">{$row.project_status_demo}</td>
        </tr>

        </tbody>
    </table>
</div>
<!-- <div class="row text-center">
    <button id="printFun" class="btn btn-lg btn-info btn-print">打印</button>
</div> -->
{if $is_norecords == '0'}
<div class="panel panel-success" style="border-collapse: collapse;text-align: center;margin:30px auto;width:90%">
    <div class="panel-heading">
        <h3 class="panel-title">所有考察记录</h3>
    </div>
    <table class="table table-bordered text-center">
        <tr>
            <th>接洽时间</th>
            <th>区领导</th>
            <th>详情</th>
        </tr>
        {volist name='records' id='vo'}
        <tr {eq name="vo.id" value="$row.id"}class="text-danger"{/eq}>
            <td class="text-center">{$vo.inspect_time_text}</td>
            <td class="text-center">{$vo.leader_names}</td>
            <td class="text-center"><a href="javascript:;" class="btn-success btn-sm info" data-name="详情-{$vo.inspect_time_text}" data-ids="{$vo.id}">详情</a></td>
        </tr>
        {/volist}
    </table>
</div>
{/if}